Libadwaita includes a standard style class to distinguish
nightly/development versions from regular instances, but
we never to around applying it.
Do that now.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2841>
Package.initFormat();
+const Config = imports.misc.config;
const ExtensionUtils = imports.misc.extensionUtils;
const { ExtensionState, ExtensionType } = ExtensionUtils;
_init(params) {
super._init(params);
+ if (Config.PROFILE === 'development')
+ this.add_css_class('devel');
+
this._updatesCheckId = 0;
this._exporter = new Shew.WindowExporter({ window: this });
var PACKAGE_VERSION = '@PACKAGE_VERSION@';
+var PROFILE = '@PROFILE@';
output: '@BASENAME@',
configuration: {
'GETTEXT_VERSION': meson.project_version(),
+ 'PROFILE': get_option('profile'),
}
)